![]() |
Synalyze It!
1.10
|
Public Member Functions | |
| Value | getValue () |
| Get value. More... | |
| Mask | getMask () |
| Get mask. More... | |
| ByteView | getByteView () |
| byte view. More... | |
| int | getLevel () |
| Get level. More... | |
| int | getIteration () |
| Get iteration. More... | |
| int | getStartBytePos () |
| Get start (byte). More... | |
| int | getStartBitPos () |
| Get start (bit). More... | |
| int | getByteLength () |
| Get length (bytes). More... | |
| int | getBitLength () |
| Get length (bits). More... | |
| String | getName () |
| Get name. More... | |
| Structure | getStructure () |
| Get structure. More... | |
| Element | getElement () |
| Get structure element. More... | |
| update (Value value) | |
| Update result. More... | |
| RESULT_TYPE | getType () |
| Get type of result. More... | |
The Result class.
Result objects are created during the structure mapping process. Depending on their type they refer to a structure or struct element and a value.
| int getBitLength | ( | ) |
Get length (bits).
Returns the bit length of the result in the input file.
| int getByteLength | ( | ) |
Get length (bytes).
Returns the byte length of the result in the input file.
| ByteView getByteView | ( | ) |
byte view.
Returns the byte view object the result was created for. This is useful to access the raw data of large binary element results.
| Element getElement | ( | ) |
Get structure element.
Returns the structure elementof the result. This is only valid if the result ist of type structure.
| int getIteration | ( | ) |
Get iteration.
Returns the interation of a result in a sequence of repeated elements.
| int getLevel | ( | ) |
Get level.
Returns the level of a result in the results tree.
| Mask getMask | ( | ) |
Get mask.
Mask results refer to a mask object.
| String getName | ( | ) |
Get name.
Returns the name of the result.
| int getStartBitPos | ( | ) |
Get start (bit).
Returns the bit position of the result in the input file.
| int getStartBytePos | ( | ) |
Get start (byte).
Returns the byte position of the result in the input file.
| Structure getStructure | ( | ) |
Get structure.
Returns the structure of the result. This is only valid if the result ist of type structure.
| RESULT_TYPE getType | ( | ) |
Get type of result.
Returns type of a result. This can be RESULT_STRUCTURE_START_TYPE, RESULT_STRUCTURE_END_TYPE, RESULT_STRUCTURE_ELEMENT_TYPE, RESULT_MASK_TYPE or RESULT_MULTI.
| Value getValue | ( | ) |
Get value.
Each result has a value.
| update | ( | Value | value | ) |
Update result.
Modify byte array with new value.
| [in] | value | New value for result |
1.8.14